package com.example.demo.mapper;

import com.example.demo.domain.DTO.ProvinceHot;
import com.example.demo.domain.ProvinceInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.domain.ProvincePointCity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author z'z'w
 * @description 针对表【PROVINCE_INFO】的数据库操作Mapper
 * @createDate 2023-05-17 15:17:12
 * @Entity com.example.demo.domain.ProvinceInfo
 */
@Mapper
public interface ProvinceInfoMapper {
    /**
     * 热门城市
     *
     * @return
     */
    List<ProvinceHot> selectProvinceHot();


    /**
     * 省份列表
     */
    List<ProvinceInfo> selectProvinceInfo();


    /**
     * 返回指定省份的所有城市
     */
    List<ProvincePointCity> selectProvincePointCity(@Param("provinceName") String provinceName);
}




